#include "widget.h"
#include "ui_widget.h"

#include <QPushButton>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    QPushButton *button = new QPushButton("曹飞", this);

    button->setGeometry(0,0,100,100);
    button->setStyleSheet("QPushButton { border : 20px solid green; margin: 5px;}");

}

Widget::~Widget()
{
    delete ui;
}

